<!DOCTYPE html>
<html lang="en">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <meta name="viewport"
        content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title>WeUI</title>
    <link rel="stylesheet" href="./WeUI_files/weui.css">
    <script type="text/javascript" src="./WeUI_files/zepto.min.js"></script>
    <script src='./dist/fapenyouquan.js'></script>
</head>

<body style="
    font-size: 3.5vw;
">
    <div style="
    background-color: #eeeeee;
    /* position: fixed; */
    height: 13vw;
    width: 100%;
    z-index: 1;
    text-align: center;
    font-size: 5vw;
    font-weight: bold;
    line-height: 15vw;
"><span>发表文字</span>
        <div style="
top: 4vw;
left: 4vw;
position: fixed;
background-color: #cccccc;
width: 14vw;
height: 7vw;
border-radius: 1.5vw;
transform-origin: 0px 0px;
opacity: 1;
transform: scale(1, 1);
font-size: 4vw;
font-weight: bolder;
text-align: center;
line-height: 7vw;
" onclick="javascript:history.go(-1);">退出</div>
        <div id="fapengyouquandiv" style="
    top: 4vw;
    right: 4vw;
    position: fixed;
    background-color: #cccccc;
    width: 20vw;
    height: 7vw;
    border-radius: 1.5vw;
    transform-origin: 0px 0px;
    opacity: 1;
    transform: scale(1, 1);
    font-size: 4vw;
    font-weight: bolder;
    text-align: center;
    line-height: 7vw;
" onclick="fapengyouquan(this,1);">发布</div>
    </div>

    
    <form id="fapengyouquan" action="uploader"  method="post" enctype="multipart/form-data" >

        <div class="">
            <div class="weui-gallery" id="gallery">
                <span class="weui-gallery__img" id="galleryImg"></span>
                <div class="weui-gallery__opr" id="delthisimg">
                    <a href="javascript:" class="weui-gallery__del">
                        <i class="weui-icon-delete weui-icon_gallery-delete"></i>
                    </a>
                </div>
            </div>
    
            <div class="weui-cells weui-cells_form" style="
            margin-top: 0px;
        ">
                <div class="weui-cell">
                    <div class="weui-cell__bd">
                        <textarea id = "weuitextarea" name = "saysomething" class="weui-textarea" placeholder="请填写你想发布的话" rows="3"></textarea>
                        <div class="weui-textarea-counter"><span id="weuitextareanum">0</span>/200</div>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__bd">
                        <div class="weui-uploader">
                            <div class="weui-uploader__hd">
                                <p class="weui-uploader__title">图片上传(最多9张)</p>
                                <div class="weui-uploader__info"><span id="picnum">0</span>/9</div>
                            </div>
                            <div class="weui-uploader__bd">
                                <ul class="weui-uploader__files" id="uploaderFiles">

                                </ul>
                                <div class="weui-uploader__input-box">
                                    <input name = "b" id="uploaderInput" class="weui-uploader__input" type="file" accept="image/*" multiple/>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </form>
    <div id="loadingToast" style="display:none;">
        <div class="weui-mask_transparent"></div>
        <div class="weui-toast">
            <i class="weui-loading weui-icon_toast"></i>
            <p class="weui-toast__content">数据加载中</p>
        </div>
    </div>
    <div class="js_dialog" id="iosDialog2" style="display: none;">
        <div class="weui-mask"></div>
        <div class="weui-dialog">
            <div class="weui-dialog__bd">前端页面错误，请联系管理员</div>
            <div class="weui-dialog__ft">
                <a href="javascript:;" class="weui-dialog__btn weui-dialog__btn_primary">知道了</a>
            </div>
        </div>
    </div>
</body>


</html>